package com.gray.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gray.pojo.Article;
import com.gray.pojo.UserComment;

public interface UserCommentDao {
	/**
	 * 插入一条评论 Selective 
	 * @param userCommit
	 * @return
	 */
	int insertUserCommitSelective(UserComment userCommit);
	/**
	 * 根据文章id获取 评论列表
	 * @param ArticleId
	 * @return
	 */
	List selectUserCommmentByArticleId(short articleId);
	
	int updatePraise(UserComment userComment);
}
